﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business.Inventory;
using Microsoft.Practices.Composite.Wpf.Commands;
using PJ.Presentation.Inventory;

namespace PJ.Presentation.Inventory
{
    public class GetInventoryItemPresenter : IGetInventoryItemPresenter
    {
        public IGetInventoryItemView View {get; private set;}

        public GetInventoryItemPresenter(IGetInventoryItemView view, IInventoryItemProvider provider)
        {
            View = view;
            View.SetGetInventoryItemCommand(provider.GetInventoryItemCommand);
        }
    }
}
